﻿using System;
using System.Collections.Generic;

using Pixels.Logic;

namespace Pixels
{
    /// <summary> All game data goes here. </summary>
    static public class GlobalConsts {

        static private TerrainConsts[] terrainConsts;

        static public TerrainConsts getTerrainConsts(TerrainType terrain) {
            return terrainConsts[(int)terrain];
        }


        static public void initializeAll() {
            terrainConsts = new TerrainConsts[(int)TerrainType.ubound];

            terrainConsts[(int)TerrainType.rocks] = new TerrainConsts(
                TerrainType.rocks,
                "Rocks",
                Sargon.Color.grey(0.5f)
            );
        }



    }
}
